import { http } from '@/utils/request.js'

const gfJfdService = {
  list: (params) => {
    return http.get(`/system/gfJfd/list`, params)
  },
  add: (id) => {
    return http.post(`/system/gfJfd/${id}`, null)
  },
  uploadOss: (gfRecordId, ossID) => {
    return http.put(`/system/gfJfd/${gfRecordId}/${ossID}`, null)
  },
  detail: (id) => {
    return http.get(`/system/gfJfd/${id}`)
  },
  delete: (id) => {
    return http.put(`/system/gfJfd/${id}`, null)
  },
}
export default gfJfdService
